package com.gxa.autoparts.core.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_payInfo")
/**
 * 支付信息
 */
public class PayInfo {

  @Id
  @Column(name = "id")
  private Long id;

  @Column(name = "orderId")
  private Long orderId;

  @Column(name = "payTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date payTime;

  @Column(name = "payType")
  private String payType;

  @Column(name = "payPrice")
  private Double payPrice;

}
